<?php
/**
 * Name: Mongo基类.
 * User: 董坤鸿
 * Date: 2016/10/8
 * Time: 20:08
 */

namespace App;
use Jenssegers\Mongodb\Eloquent\Model;
abstract class MongoModel extends Model
{
    use MongoTypeFix;
//    protected $hidden = ['_id'];
    protected $appends = ['id'];

}